/*
 * @Author: funlee
 * @Email: i@funlee.cn
 * @Date: 2019-07-02 15:48:36
 * @Description: 挖掘查询
 */
import React from "react";
import { HashRouter, Route, Redirect } from "react-router-dom";
import { AsyncPage } from "@/utils/util";

const EQuerySearch = AsyncPage(() => import("./search"));
const EQueryResult = AsyncPage(() => import("./result"));

function ExcavateQuery() {
    return (
        <HashRouter>
            <Route path="/main/excavateQuery" exact render={() => <Redirect to="/main/excavateQuery/search" />} />
            <Route path="/main/excavateQuery/search" component={EQuerySearch} />
            <Route path="/main/excavateQuery/result" component={EQueryResult} />
        </HashRouter>
    );
}

export default ExcavateQuery;
